<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@include file="/context/mytags.jsp" %>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<html>
<head>
    <title>是否现场服务</title>
    <link id="easyuiTheme" rel="stylesheet" href="plug-in/easyui/themes/default/easyui.css" type="text/css"></link>
    <link rel="stylesheet" href="plug-in/easyui/themes/icon.css" type="text/css"></link>
    <link rel="stylesheet" type="text/css" href="plug-in/accordion/css/accordion.css">
    <link rel="stylesheet" href="plug-in/tools/css/common.css" type="text/css"></link>
    <link rel="stylesheet" href="plug-in/jquery/jquery-autocomplete/jquery.autocomplete.css" type="text/css"></link>
</head>
<body>
<table class="nobordertable noborder" style="border: none; margin-top:50px;width: 300px">
    <input type="hidden" value="${cbsId}" name="cbsId" id="cbsId">
    <tbody>
    <tr>
        <td width="45%" onclick="fieldServicejudge()" style="text-align:center;margin-right:20px;border-radius: 10px;padding: 10px;background-color: blue;">
            <a class="btn-blue" style="color: #ffffff">现场服务</a>
        </td>
        <td width="10%"></td>
        <td width="45%" onclick="longRangeService()" style="text-align: center;margin-left:20px;border-radius: 10px;padding: 10px;background-color: #f6a828;">
            <a class="btn-org" style="color: #ffffff"  >远程解决</a>
        </td>
    </tr>
    </tbody>
</table>
<script type="text/javascript">


    //现场服务，弹框判断服务类型
    function fieldServicejudge() {
        var cbsId = $("#cbsId").val();
        addOneTab('现场服务完工报告', 'cbsServiceReportController.do?cbsServiceReportXC&id='+cbsId);
        frameElement.api.close();
    }
    function longRangeService(){
        var cbsId = $("#cbsId").val();
        addOneTab('远程服务完工报告', 'cbsServiceReportController.do?RemoteService&id='+cbsId);
        frameElement.api.close();
    }
</script>
</body>
</html>
